<?php

namespace App\Services\Collection;

use Exception;

class BrandService extends BaseCollectionService
{

    /**
     * 品牌列表
     *
     * @return array
     * @throws Exception
     */
    public function listAll(): array
    {
        // 查询品牌列表
        $list = $this->getBrandModel()->listAll();

        return [
            'list' => $list,
        ];
    }

}
